trace: Fix T_INFO_FIRST_OFFSET calculation
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 2 Jul 2010 17:52:45 +0000 (18:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 2 Jul 2010 17:52:45 +0000 (18:52 +0100)
commit79fdc7a419bd9f4e46b0d24549e6a6ee894d19d9
treeddb3594a6fd19c53e93bd5083bce43e1f95143d7
parent6634a6768c1976ccc14aa1dbd59e1091efb73d9d
trace: Fix T_INFO_FIRST_OFFSET calculation

This wasn't defined correctly, thus allowing in the
num_online_cpus() == NR_CPUS case to pass a corrupted MFN to
Dom0.

Reported-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/trace.c